package com.liu.stockmarket

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class MainViewModel: ViewModel() {
    private val _dataCenter = MutableLiveData<Boolean>()
    val isShowDataCenterBtn:LiveData<Boolean> = _dataCenter

    fun setShowDataCenterButton(isShow: Boolean){
        _dataCenter.postValue(isShow)
    }
}